package com.wutma.common.core.constants;

public class CacheConstants {

    public final static String LOGIN_TOKEN = "login:token:";

    public final static String PHONE_CODE_KEY = "p:c:";
    public final static String CODE_NUM_KEY = "c:n:";

    public final static String EXAM_UNFINISHED_LIST = "e:t:l"; // 竞赛未完赛列表
    public final static String EXAM_DETAIL = "e:d:"; // 竞赛详情信息

    public final static String EXAM_HISTORY_LIST = "e:h:l"; // 历史竞赛列表

    public final static String USER_EXAM_LIST = "u:e:l:"; // 用户竞赛列表
    public final static String USER_DETAIL = "u:d:"; // 用户详情信息
    public final static String USER_UPLOAD_TIMES_KEY = "u:u:t"; // 用户图片存储次数
    public final static String QUESTION_LIST = "q:l"; // 题目列表
    public final static String EXAM_QUESTION_LIST = "e:q:l:"; // 竞赛题目列表
    public final static String USER_MESSAGE_LIST = "u:m:l:"; // 用户消息列表
    public final static String MESSAGE_DETAIL = "m:d:"; // 用户消息详情
    public static final String EXAM_RANK_LIST = "e:r:l:"; // 用户竞赛排名
    public final static long EXPIRE_TIME = 720L;
    public static final Long REFRESH_TIME = 180L;
    public static final Long USER_DETAIL_EXPIRE_TIME = 10L;

}
